package edu.ynmd.cms.service;

import edu.ynmd.cms.model.Carousel;
import edu.ynmd.cms.model.News;
import edu.ynmd.cms.model.Singlepagelist;

import java.util.List;

public interface ManageService {
    public boolean addNews(News news);
    public boolean deleteNews(String id);
    public boolean updateNews(News news);
    public News getNews(String id);
    public List<News> getNewsList();

    public boolean addCarousel(Carousel carousel);
    public boolean deleteCarousel(String id);
    public boolean updateCarousel(Carousel carousel);
    public Carousel getCarousel(String id);
    public List<Carousel>getCarouselList();

    public boolean addSinglepagelist(Singlepagelist singlepagelist);
    public boolean deleteSinglepagelist(String id);
    public boolean updateSinglepagelist(Singlepagelist singlepagelist);
    public Singlepagelist getSinglepagelist(String id);
    public List<Singlepagelist>getSinglepagelistList();

}
